<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            /* 默认值是normal 表示字体正常 */
            /* 设置字体倾斜italic */
            font-style: italic;
        }
    </style>
</head>

<body>
    <i>字体倾斜</i>
    <div>字体倾斜2</div>
</body>

</html>